package com.cb.domain.service.order.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cb.core.service.impl.GenericManagerImpl;
import com.cb.domain.model.order.InsuranceCompany;
import com.cb.domain.dao.order.InsuranceCompanyDAO;
import com.cb.domain.service.order.InsuranceCompanyManager;
import com.cb.core.webapp.paging.PagingBean;

@Service
public class InsuranceCompanyManagerImpl extends GenericManagerImpl<InsuranceCompany, Long> implements InsuranceCompanyManager{
	
	@Autowired
	private InsuranceCompanyDAO insuranceCompanyDAO;
	
	@Autowired
	public InsuranceCompanyManagerImpl(InsuranceCompanyDAO insuranceCompanyDAO) {
		super(insuranceCompanyDAO);
	}
	
	/**
	 * {@inheritDoc}
	 */
	public List<InsuranceCompany>getByVo(InsuranceCompany vo,PagingBean pb){
		return ((InsuranceCompanyDAO)genericDAO).getByVo(vo, pb);
	}
}
